﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace miniMana.Entity.EntityBase
{
    /// <summary>
    /// Entity父类
    /// </summary>
    public abstract class BaseEntity : BaseEntity<int>//默认字段类型为long
    {

    }

    public abstract class BaseEntity<TId> : IBaseEntity<TId>
    {
        /// <summary>
        /// 默认主键字段是F_Id
        /// </summary>
        public virtual TId Id { get; set; }

    }
}
